#pragma once

#include <fstream>

namespace pathfind {

struct IntPoint {
	int x;
	int y;

	IntPoint();
	IntPoint(int x, int y);
	IntPoint(const IntPoint&);

  void set(int x1, int y1);

	bool operator <(const IntPoint &) const;
	bool operator >(const IntPoint &) const;
	bool operator ==(const IntPoint &) const;
	bool operator !=(const IntPoint &) const;

	IntPoint &operator=(const IntPoint&);

	friend std::ostream& operator<< (std::ostream& out, const IntPoint &p);

};

}
